<?php
class TeamModel extends Model{
 public function getTeam($id){
 	$e = "select team from team where id=$id";
 	return $this->db->query($e);
 }
 public function getPlyer($id){
 	$r = "select player from player where tid=$id";
 	return $this->db->query($r);
 }
 public function getCount($id){
 	$res = "select count(*) from player where tid=$id";
 	return $this->db->query($res);
 }
}
